﻿using System.Runtime.InteropServices;

namespace Main
{
    public class JSLibrary
    {
#if UNITY_WEBGL
        [DllImport("__Internal")]
        public static extern void Log(string str);

        [DllImport("__Internal")]
        public static extern void Alert(string str);

        [DllImport("__Internal")]
        public static extern bool IsMobile();
#endif
    }
}